import request from '@/utils/request'

// 查询产业地图团队权限列表
export function listDealEstateMapPermit(query) {
  return request({
    url: '/map/dealEstateMapPermit/list',
    method: 'get',
    params: query
  })
}

// 查询产业地图团队权限详细
export function getDealEstateMapPermit(id) {
  return request({
    url: '/map/dealEstateMapPermit/' + id,
    method: 'get'
  })
}

// 保存产业地图团队权限
export function saveDealEstateMapPermit(data) {
  return request({
    url: '/map/dealEstateMapPermit/save',
    method: 'post',
    data: data
  })
}

// 删除产业地图团队权限
export function delDealEstateMapPermit(id) {
  return request({
    url: '/map/dealEstateMapPermit/' + id,
    method: 'delete'
  })
}

// 导出产业地图团队权限
export function exportDealEstateMapPermit(query) {
  return request({
    url: '/map/dealEstateMapPermit/export',
    method: 'get',
    params: query
  })
}
